package com.wonghiu.framework.registry;

import com.wonghiu.framework.common.extention.SPI;
import com.wonghiu.framework.exchange.HRpcRequest;

import java.net.InetSocketAddress;

/**
 * @Author wonghiu
 * @Date 2021/8/10 19:51
 * @Version 1.0.1
 */
@SPI
public interface ServiceDiscovery {
    InetSocketAddress lookupService(HRpcRequest rpcRequest);
}
